|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jvnet.flamingo.bcb.BreadcrumbBarCallBack<java.lang.Object>
org.jvnet.flamingo.bcb.core.BreadcrumbTreeAdapterSelector.TreeCallback
public static class BreadcrumbTreeAdapterSelector.TreeCallback
Tree-adapter specific implementation of the BreadcrumbBarCallBack
.
| Constructor Summary | |
|---|---|
BreadcrumbTreeAdapterSelector.TreeCallback(javax.swing.tree.TreeModel treeModel,
BreadcrumbTreeAdapterSelector.TreeAdapter treeAdapter,
boolean isRootVisible)
Creates the callback. |
|
| Method Summary | |
|---|---|
java.io.InputStream |
getLeafContent(java.lang.Object leaf)
Returns the input stream with the leaf content. |
java.util.List<StringValuePair<java.lang.Object>> |
getLeafs(java.util.List<BreadcrumbItem<java.lang.Object>> path)
Returns the choice element that corresponds to the specified path. |
java.util.List<StringValuePair<java.lang.Object>> |
getPathChoices(java.util.List<BreadcrumbItem<java.lang.Object>> path)
Returns the choice element that corresponds to the specified path. |
| Methods inherited from class org.jvnet.flamingo.bcb.BreadcrumbBarCallBack |
|---|
setThrowsExceptions, setup |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BreadcrumbTreeAdapterSelector.TreeCallback(javax.swing.tree.TreeModel treeModel,
BreadcrumbTreeAdapterSelector.TreeAdapter treeAdapter,
boolean isRootVisible)
treeModel - The corresponding tree model.treeAdapter - The corresponding tree adapter. Can not be
null.isRootVisible - If true, the first selector shows the tree
root node. If false, the first selector shows
the tree root child nodes.| Method Detail |
|---|
public java.util.List<StringValuePair<java.lang.Object>> getPathChoices(java.util.List<BreadcrumbItem<java.lang.Object>> path)
BreadcrumbBarCallBacknull should be returned. If path is
null, the "root" elements should be returned
getPathChoices in class BreadcrumbBarCallBack<java.lang.Object>path - Breadcrumb bar path.
public java.util.List<StringValuePair<java.lang.Object>> getLeafs(java.util.List<BreadcrumbItem<java.lang.Object>> path)
BreadcrumbBarCallBacknull should be returned. If path is
null, the "root" elements should be returned
getLeafs in class BreadcrumbBarCallBack<java.lang.Object>path - Breadcrumb bar path.
public java.io.InputStream getLeafContent(java.lang.Object leaf)
BreadcrumbBarCallBacknull if this is not applicable.
getLeafContent in class BreadcrumbBarCallBack<java.lang.Object>leaf - Leaf.
null if
this is not applicable.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||